package com.ftg.learn.mapper;

import com.ftg.learn.entity.TeacherEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 描述
 *   Mapper  通过  starter 用这个接口生成一个代理类，然后把代理存储到spring容器里面
 * @author 布衣
 * @date 2024/12/5
 */
@Mapper
public interface TeacherMapper {

    List<TeacherEntity> list(String name);

}
